package com.galaxy.device.service;

import com.galaxy.common.mybatis.core.page.PageQuery;
import com.galaxy.common.mybatis.core.page.TableDataInfo;
import com.galaxy.device.domain.DeviceMaintenance;
import com.galaxy.device.domain.bo.DeviceMaintenanceBo;
import com.galaxy.device.domain.vo.DeviceMaintenanceVo;

import java.util.List;

/**
 * 设备维护Service接口
 */
public interface IDeviceMaintenanceService {

    /**
     * 查询设备维护分页列表
     */
    TableDataInfo<DeviceMaintenanceVo> queryPageList(DeviceMaintenanceBo bo, PageQuery pageQuery);

    /**
     * 查询设备维护列表
     */
    List<DeviceMaintenanceVo> queryList(DeviceMaintenanceBo bo);

    /**
     * 获取设备维护详细信息
     */
    DeviceMaintenanceVo getInfo(Long id);

    /**
     * 新增设备维护
     */
    DeviceMaintenance add(DeviceMaintenanceBo bo);

    /**
     * 修改设备维护
     */
    DeviceMaintenance update(DeviceMaintenanceBo bo);

    /**
     * 删除设备维护
     */
    void delete(Long id);

    /**
     * 批量删除设备维护
     */
    void deleteBatch(Long[] ids);
}
